package com.tx.admin.detailmodesidebar.service;

import com.mybatisflex.core.service.IService;
import com.tx.admin.detailmodesidebar.pojo.po.DetailModeSideBar;
import com.tx.core.common.entity.SelectIdsDTO;
import com.tx.core.common.entity.PageResult;
import java.util.List;
import com.tx.admin.detailmodesidebar.pojo.dto.DetailModeSideBarCreateDTO;
import com.tx.admin.detailmodesidebar.pojo.dto.DetailModeSideBarUpdateDTO;
import com.tx.admin.detailmodesidebar.pojo.dto.DetailModeSideBarListDTO;
import com.tx.admin.detailmodesidebar.pojo.vo.DetailModeSideBarVO;
import com.tx.core.common.entity.ImportExcelDTO;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 详情页树状结构 Service
 * </p>
 *
 * @author sz-admin
 * @since 2025-08-05
 */
public interface DetailModeSideBarService extends IService<DetailModeSideBar> {

    void create(DetailModeSideBarCreateDTO dto);

    void update(DetailModeSideBarUpdateDTO dto);

    PageResult<DetailModeSideBarVO> page(DetailModeSideBarListDTO dto);

    List<DetailModeSideBarVO> list(DetailModeSideBarListDTO dto);

    void remove(SelectIdsDTO dto);

    DetailModeSideBarVO detail(Object id);

    void importExcel(ImportExcelDTO dto);

    void exportExcel(DetailModeSideBarListDTO dto, HttpServletResponse response);

    DetailModeSideBarVO orderTrees(Long masterId);
}